//
//  CommentModel.m
//  News
//
//  Created by xalo on 16/3/7.
//  Copyright © 2016年 News. All rights reserved.
//

#import "CommentModel.h"

@implementation CommentModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"cmntlist"]) {
        
        NSArray *array = value;
      
        for (NSDictionary *dic in array) {
            CommentModel *com = [[CommentModel alloc]init];
            
            [com setValuesForKeysWithDictionary:dic];
        }
        
    }
    
}

@end
